package com.zw.cc;

import com.zw.cc.base.SpringContextUtils;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ApplicationContext;

/**
 * Created by zwz
 * date 2016/12/15
 * project com.zw.cc
 */
@SpringBootApplication(scanBasePackages = "com.zw.cc")
public class Application {

    public static void main(String[] args) {
        ApplicationContext applicationContext =  SpringApplication.run(Application.class);
        SpringContextUtils.setApplicationContext(applicationContext);
    }
}
